<?php

class Security{
	
	private $page;
        
	public function __construct($page)
	{
            $this->page = $page;
	}
        
        /**
         * This is where Security Check happens. By default, this will get called whenever a new page is loaded
         * @return string Message to be sent to user. If it's empty, then user has access to page.
         */
	public function CheckSecurity()
	{
            $permissions = "";
            //if(strtolower($this->page) == "secured")
              //  $permissions .= "You do not have access to this page";
            // TODO
            
            return $permissions;
	}
	
}

?>